{extend name='admin@main'}
{block name="content"}
<div class="think-box-shadow">
    <div class="layui_table_width_scroll">
        <table class="layui-table margin-top-10" lay-skin="line" >
            {notempty name='list'}
            <thead>
            <tr>
                <th class='text-left nowrap'>道具ID</th>
                <th class='text-left nowrap'></th>
                <th class='text-left nowrap'>道具名称</th>
                <th class='text-left nowrap'>数量</th>
                <th class='text-left nowrap'>道具描述</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='text-left nowrap'>
                    <span class="color-red">{$vo.PropID}</span>
                </td>
                <td class='text-left nowrap'>
                    <a class="layui-btn layui-btn-normal layui-btn-sm" data-title="明细" data-modal-html='{:url("prop_detail")}?id={$vo.UserID}&PropID={$vo.PropID}'>明细</a>
                </td>
                <td class='text-left nowrap'>
                    <span>{$vo.prop_name}</span>
                </td>
                <td class='text-left nowrap'>{$vo.Counts}</td>
                <td class='text-left nowrap'>{$vo.prop_description}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
    </div>
</div>
{/block}
